import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import less from 'less'
import * as echarts from 'echarts'
import scroll from 'vue-seamless-scroll'
import store from './store';
Vue.use(scroll)
Vue.prototype.$echarts = echarts
import heard from '@/views/heard/heardIndex.vue';
import index from '@/views/index.vue';
import sy from '@/views/sy.vue';
import cj from '@/views/cj/index.vue';
import zplist from '@/views/zplist/index.vue';
import jdt from '@/views/jdt.vue';
import yqm from '@/views/yqm.vue';
import cookies from 'vue-cookies'
Vue.prototype.$cookies = cookies;
Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(less)
Vue.use(ElementUI);
const router = new VueRouter({
  mode: 'history',
  routes: [
  {
  path: '/',
  component: sy
  },
  {
    path: '/yqm',
    component: yqm
    },
  {
    path: '/index',
    component: index
    },
    {
      path: '/jdt',
      component: jdt
      },
      {
        path: '/zplist',
        component: zplist
        },
      {
        path: '/cj',
        component: cj
        }
  
  ]
  })
new Vue({
  render: h => h(App),
  router,
  store, 
  el: '#app',
}).$mount('#app')
